import request from "@/utils/http";
// 获取菜单栏列表
export const getNavList = async () => {
  try {
    const res = await request({
      url: "/navList",
      method: "get",
    });
    return res;
  } catch (error) {
    console.log(error);
    return null;
  }
};
